package vip.xiaonuo.facedoor.vo.dewo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class ListPersonResponse {

    @JsonProperty("code")
    private String code;

    @JsonProperty("msg")
    private String msg;

    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("totalNum")
        private String totalNum;

        @JsonProperty("personnelList")
        private List<PersonnelListDTO> personnelList;

        @NoArgsConstructor
        @Data
        public static class PersonnelListDTO {
            @JsonProperty("personnelId")
            private String personnelId;

            @JsonProperty("personnelType")
            private String personnelType;

            @JsonProperty("jobNum")
            private String jobNum;

            @JsonProperty("name")
            private String name;

            @JsonProperty("idCardNum")
            private String idCardNum;

            @JsonProperty("icNum")
            private String icNum;

            @JsonProperty("wiegandNum")
            private String wiegandNum;

            @JsonProperty("department")
            private String department;

            @JsonProperty("company")
            private String company;

            @JsonProperty("expiryTime")
            private String expiryTime;

            @JsonProperty("faceFeature")
            private String faceFeature;

            @JsonProperty("faceFeatureState")
            private String faceFeatureState;

            @JsonProperty("fingerVeinFeature")
            private String fingerVeinFeature;

            @JsonProperty("headerImgPath")
            private String headerImgPath;

            @JsonProperty("registrationTime")
            private String registrationTime;
        }
    }
}
